|
|
Za razliku od Windows XP desktopa, kod kojeg mozete podesiti drop shadow - senku ispod naziva ikona, u KDE to po instalaciji nije podeseno i mora se vrsiti mala intervencija na konfiguracionim fajlovima KDE.
Da bi to uradili treba otvoriti datoteku "kde/share/config/kdesktoprc"
i ako u njoj postoji deo pod nazivom [FMSettings] u njemu dodati vrednosti:... CommonDesktop=true DeskNum=0 [Desktop0] CurrentWallpaper[$d] CurrentWallpaperName= MinOptimizationDepth=1 MultiWallpaperMode=NoMulti UseSHM=false Wallpaper=/usr/share/wallpapers/celtic.svgz WallpaperMode=Scaled [FMSettings] ShadowParameters=2, 2, 4.0, 100.0, 2, 2, 1 ...Ovo je prikaz dela mog fajla u kome nije bila ta sekcija, pa sam je ja dodao i uneo vrednosti.
Opcije podesavanja sekcije FMSettings
--------------------------------
ShadowParameters - za KDE 3.2
ShadowCurrentScheme - za KDE 3.1 (ista stavka ali se drugcije zove u KDE 3.1
| Kod: |
|
Primeri:
KDE 3.2 2, 2, 4.0, 100.0, 2, 2, 1 KDE 3.1 0, 0, 4.0, 255.0, 3, 0, 0 OS X 0, 1, 16.0, 192.0, 2, 4, 0 Windows XP 1, 1, 32.0, 139.0, 2, 4, 0 Soft outline 0, 0, 4.0, 170.0, 1, 4, 0 |
Opisi parametara:
(prevod nije kompletan jer bi mozda bilo nerazumljivo
za korisnike...
(1,2) Prve dve vrednosti su X i Y offsets (0,0 je tacno iza teksta)
(3,4) The following two determine the halo (factor, max opacity)
- 0-255 Max Opacity 0 = transparent, 255 = opaque
(5) Thickness (how large the halo is)
- Usually 3-5 pixels. Though normal people seem to prefer a thickness
of about 2
(6) Selected algorithm
- 1 DefaultDecay the default AXIS/DIAGONAL_FACTOR based alg
a simple algorithm with 3 pixels thickness
- 2 DoubleLinearDecay decay factor is 1/dx+dy (!!! not yet implemented !!!)
a slower algorithm where the influence of a pixel is qGray(px)/(abs(dx) + abs(dy) +1)
- 3 RadialDecay decay factor is 1/sqrt(dx*dx + dy*dy) (!!! not yet implemented !!!)
a very slow algorithm where the influence of a pixel is qGray(px)/(sqrt(sqr(dx) + sqr(dy)) +1)
- 4 NoDecay decay factor is 1 always
a nice/fast algorithm proposed by Bernardo Hung
(7) Selection (inverse video or use the background text, boolean 0/1)
This setting affects how the text/halo is drawn when the icon is selected
- 0 Inverse Video Invert the text and shadow color to draw the icon's dropshadow
- 1 Background Text Use the current text and shadow color to draw the icon's dropshadow
ShadowTextColor - (Simply an alias for NormalTextColor)
ShadowTextBackground - (Simply an alias for ItemTextBackground)
Nakon podesavanja svih opcija restartujte KDE i proverite izgled
Evo i primera kako to kod mene izgleda:
